import service from "../utils/request";

//支付时删除购物车数据
export function deleteCartItem(payload={}){
    return service.get('/order/deleteCartItem',{ params:payload})
}
//修改订单地址

export function updateOrderAddress(payload={}){
    return service.post('/order/updateOrderAddress',payload)
}
//获取确认订单信息
export function confirmOrder(payload={}){
    return service.get('/order/confirmOrder',{ params:payload})
}
//添加订单
export function addOrder(payload={}){
    return service.post('/order/addOrder',payload)
}

